package com.lhz.collector.service;

import com.lhz.collector.entity.ParseRule;
import com.lhz.collector.parse.lexer.BaseLexer;

import java.util.List;
import java.util.Map;

/**
 * Created by LHZ on 2017/4/13.
 */
public interface ParseService {
    List<ParseRule> findAllList();
    ParseRule getById(long id);
    boolean insert(ParseRule parseRule);
    boolean update(ParseRule parseRule);
    boolean delete(ParseRule parseRule);
    Map<String,Object> preview(String jsonRule);
}
